#ifndef GAMEWINDOW_H
#define GAMEWINDOW_H

#include <QMainWindow>
#include <QMessageBox>
#include <QWidget>
#include <QTimer>
#include <QPainter>

namespace Ui {
class gamewindow;
}

class gamewindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit gamewindow(QWidget *parent = nullptr);
    ~gamewindow();
    void startGame();

private:
    Ui::gamewindow *ui;

protected:
    void showEvent(QShowEvent *event){
        QWidget::showEvent(event);
        QMessageBox::information(this,"教程","键盘A,S,D,F分别控制从左到右的轨道，短音符短按，长音符长按");
    }
};

#endif // GAMEWINDOW_H
